﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MINERP.NewPBAuto.IView;
using MINERP.BLL.NewPB;

namespace MINERP.NewPBAuto.Presenter
{
    public class ZFSelectPrinterPresenter
    {
        ISelectPrinterView _view;
        NewPBBLL _bll;

        public ZFSelectPrinterPresenter(ISelectPrinterView view)
        {
            _view = view;
            _bll = new NewPBBLL();

            BindPrintList();
        }

        private void BindPrintList()
        {
            _view.BindCmbPrinter(_bll.GetAllPrinter());
        }
    }
}
